home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
6
/
csr_pos.zip
/
CSR_POS.C
Wrap
Text File
|
1985-10-10
|
1KB
|
24 lines
/****************************************************************************/
/* */
/* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
/* on the IBM Personal Computer or compatible, running DOS 2.0. */
/* */
/* It requires that the system be booted with a CONFIG.SYS file on the boot */
/* disk containing the record: DEVICE=ANSI.SYS */
/* */
/* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on */
/* the boot disk. */
/* */
/* See Chapter 13 of the DOS 2.0 Manual for further explanation. */
/* */
/****************************************************************************/
/* csr_pos() */
/* this function postions the cursor at the line & col specified */
int csr_pos(line, col)
int line, col;
{
cprintf("\x1B[%d;%dH", line, col);
}